.TH DIRNAME 1 "GNU Shell Utilities" "FSF" \" -*- nroff -*-
.SH NAME
dirname \- strip non-directory suffix from file name
.SH SYNOPSIS
.B dirname
filename
.br
.B dirname
{\-\-help,\-\-version}
.SH DESCRIPTION
This documentation is no longer being maintained and may be inaccurate
or incomplete.  The Texinfo documentation is now the authoritative source.
.PP
This manual page
documents the GNU version of
.BR dirname .
.B dirname
prints all but the final slash-delimited component of
.IR filename .
If
.I filename
is a single component,
.B dirname
prints `.' (meaning the current directory).
.SS OPTIONS
.TP
.I "\-\-help"
Print a usage message on standard output and exit successfully.
.TP
.I "\-\-version"
Print version information on standard output then exit successfully.
